<template>
  <div>Child <button @click="$emit('input', value + 1)">update</button></div>
</template>

<script>
export default {
  name: "Child",
  props: {
    value: Number,
    age: String,
  },
  mounted() {
    console.log(this.$attrs);
    console.log(this.$listeners);
  },
};
</script>

<style></style>
